Skip to content

Remove deprecated methods in ArrayBuffer #2366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2022
Merged

Conversation

lihshyang
Copy link
Contributor

As of 2.13.4, the following ArrayBuffer methods have been deprecated:

  • append(elems: A*): ArrayBuffer.this.type
  • prepend(elems: A*): ArrayBuffer.this.type
  • trimStart(n: Int): Unit
  • trimEnd(n: Int): Unit

Affected examples are updated in this pr.

As of 2.13.4, the following methods have been deprecated:

- append(elems: A*): ArrayBuffer.this.type
- prepend(elems: A*): ArrayBuffer.this.type
- trimStart(n: Int): Unit
- trimEnd(n: Int): Unit

Affected examples are updated in this pr.
@SethTisue
Copy link
Member

review by @scala/collections ?

Copy link
Contributor

@NthPortal NthPortal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not even know there were multi-arg versions of append and prepend. eww

@Philippus Philippus merged commit 8036863 into scala:main Apr 19, 2022
@Philippus
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants